﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;
using DALayer;
using System.Data;

namespace BLL
{
    public class LongSortBLL
    {
        //车主长途添加
        public static int Add(LongCarShareInfo ls)
        {
            return LongSortDAL.Add(ls);
        }
        //乘客长途添加
        public static int PAdd(LongCarShareInfo ls)
        {
            return LongSortDAL.PAdd(ls);
        }
        //查询城市
        public static DataTable Search(LongCarShareInfo ls)
        {
            return LongSortDAL.Search(ls);
        }
        public static DataTable SearchCity()
        {
            return LongSortDAL.SearchCity();
        }

        public static int SAdd(ShortCarShare sc)
        {
            return LongSortDAL.SAdd(sc);
        }

    }
}
